(function(){
	$.fn.extend({initBubbly:initBubbly});
	
	function initBubbly(){
		var bub=$("<div class='bubblySimple'>点击放大</div>").appendTo("body");
	    this.bind("mousemove",function(e){
	     
	      var  x=e.clientX+10+$(window).scrollLeft();
	      var  y=e.clientY+10+$(window).scrollTop();
	      bub.css({left:x,top:y});
	      if(bub.css("display")=="none")
	    	  bub.css({left:x,top:y,display:"block"});
	    });
	    this.bind("mouseout",function(e){
		      var  x=e.clientX ;
		      var  y=e.clientY ;
		      bub.css({display:"none"});
		    });
	}
	
	
})()